﻿#include "gameover.h"
#include "ui_gameover.h"
#include "main.cpp"
gameover::gameover(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::gameover)
{
    ui->setupUi(this);
}

gameover::~gameover()
{
    delete ui;
}
void gameover::last()
{
    this->show();
}

void gameover::on_pushButton_clicked()
{
    this->hide();
    emit back();
}

void gameover::on_pushButton_2_clicked()
{
    QApplication *g;
    g->quit();
}
